package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息管理对象 car_msg
 * 
 * @author ruoyi
 * @date 2024-10-05
 */
public class CarMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 消息ID */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 消息名称 */
    @Excel(name = "消息名称")
    private String msgName;

    /** 通知方式 */
    @Excel(name = "通知方式")
    private String noticeMode;

    /** 通知类型 */
    @Excel(name = "通知类型")
    private String msgType;

    /** 通知节点 */
    @Excel(name = "通知节点")
    private String noticeNode;

    /** 提前N天通知 */
    @Excel(name = "提前N天通知")
    private Long beforeNodeDay;

    /** 通知模板 */
    @Excel(name = "通知模板")
    private String noticeTemplate;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String showState;

    /** 显示时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "显示时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date showTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setMsgName(String msgName) 
    {
        this.msgName = msgName;
    }

    public String getMsgName() 
    {
        return msgName;
    }
    public void setNoticeMode(String noticeMode) 
    {
        this.noticeMode = noticeMode;
    }

    public String getNoticeMode() 
    {
        return noticeMode;
    }
    public void setMsgType(String msgType) 
    {
        this.msgType = msgType;
    }

    public String getMsgType() 
    {
        return msgType;
    }
    public void setNoticeNode(String noticeNode) 
    {
        this.noticeNode = noticeNode;
    }

    public String getNoticeNode() 
    {
        return noticeNode;
    }
    public void setBeforeNodeDay(Long beforeNodeDay) 
    {
        this.beforeNodeDay = beforeNodeDay;
    }

    public Long getBeforeNodeDay() 
    {
        return beforeNodeDay;
    }
    public void setNoticeTemplate(String noticeTemplate) 
    {
        this.noticeTemplate = noticeTemplate;
    }

    public String getNoticeTemplate() 
    {
        return noticeTemplate;
    }
    public void setShowState(String showState) 
    {
        this.showState = showState;
    }

    public String getShowState() 
    {
        return showState;
    }
    public void setShowTime(Date showTime) 
    {
        this.showTime = showTime;
    }

    public Date getShowTime() 
    {
        return showTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("msgName", getMsgName())
            .append("noticeMode", getNoticeMode())
            .append("msgType", getMsgType())
            .append("noticeNode", getNoticeNode())
            .append("beforeNodeDay", getBeforeNodeDay())
            .append("noticeTemplate", getNoticeTemplate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("showState", getShowState())
            .append("showTime", getShowTime())
            .toString();
    }
}
